Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Swift 5️⃣.9️⃣ #267

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Migrate to Swift 5️⃣.9️⃣ #267

merged 1 commit into from
Apr 24, 2024

Conversation

p4checo
Copy link
Member

@p4checo p4checo commented Apr 16, 2024

Checklist

Motivation and Context

Migrate CI to macOS 14 image and Xcode 15.2 which contains Swift 5.9, and migrate Danger CI to run on ubuntu 22.04.

https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode

Description

  • Update Xcode references to 15.2 and Swift references to 5.9.

  • Update destination device to iPhone 15 Pro.

  • Improve SwiftLint setup and fix warnings.

  • Update README.md.

  • Apply Xcode's recommended project settings.

@p4checo p4checo force-pushed the migrate-to-swift-5-9 branch 5 times, most recently from 8a8964b to bdc2b3c Compare April 24, 2024 23:19
Migrate CI to macOS 14 image and Xcode 15.2 which contains Swift 5.9,
and migrate Danger CI to run on ubuntu 22.04.

https://github.com/actions/runner-images/blob/main/images/macos/macos-14-arm64-Readme.md#xcode

## Changes

- Update Xcode references to 15.2 and Swift references to 5.9.
  reasons.
- Update destination device to iPhone 15 Pro.
- Improve SwiftLint setup and fix warnings.
- Update `README.md`.
- Apply Xcode's recommended project settings.
- Improve SwiftLint setup:
  + Move SwiftLint run script to Alicerce target
  + Add SwiftLint as SPM plugin on Alicerce Package (via Package.swift)
- Improve CI:
  + Update GH Actions' versions
  + Specify SwiftLint version for Danger CI
  + Place DerivedData outside checkout folder
  + Enable SPM caching and artifact upload in CI
  + Always upload artifacts
  + Disable Package and Macro validation for CI
  + Add Homebrew bundle install and caching
  + Add multiple workarounds for Carthage validation
  + Cancel in progress PR builds on push
@p4checo p4checo force-pushed the migrate-to-swift-5-9 branch from bdc2b3c to 00e7ee8 Compare April 24, 2024 23:37
Copy link

codecov bot commented Apr 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.09%. Comparing base (0eb8e07) to head (00e7ee8).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #267      +/-   ##
==========================================
- Coverage   96.03%   95.09%   -0.95%     
==========================================
  Files         101      101              
  Lines        4996     3384    -1612     
==========================================
- Hits         4798     3218    -1580     
+ Misses        198      166      -32     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@p4checo p4checo merged commit 40b1f63 into master Apr 24, 2024
11 checks passed
@p4checo p4checo deleted the migrate-to-swift-5-9 branch April 24, 2024 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants